package org.jsrml.core.base.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Embeddable;

import org.hibernate.annotations.Type;

@Embeddable
public class BaseStatus {

	/**
	 * 是否删除
	 */
	@Type(type = "yes_no")
	@Column(name = "REMOVE")
	private Boolean remove;

	/**
	 * 创建时间
	 */
	@Column(name = "CREATE_DATE", columnDefinition = M.DATE_COLUMN)
	private Date createDate;
	
	@Column(name = "CREATE_BY", length = 64)
	private String createBy;
	
	/**
	 * 更新时间
	 */
	@Column(name = "UPDATE_DATE", columnDefinition = M.DATE_COLUMN)
	private Date updateDate;
	
	@Column(name = "UPDATE_BY", length = 64)
	private String updateBy;
	

	public Boolean getRemove() {
		return remove;
	}

	public void setRemove(Boolean remove) {
		this.remove = remove;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

}
